<template>
  <div class="goto-home">
    <i class="iconfont icon-homefill" @click.prevent.stop="gotoHome"></i>
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  name: 'goto-home',
  methods: {
    gotoHome () {
      this.$router.push('/homepage')
    }
  }
}
</script>

<style lang="stylus" rel="stylesheet/stylus" scoped>
.goto-home
  border-radius: 50%
  border: 1px solid gray
  .icon-homefill
    font-size: 30px
    color: #A9A9A9
    opacity: .5
</style>
